home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Screenblankers
/
BlitzBlank 2.60
/
UnInstall_BlitzBlank
< prev
next >
Wrap
Text File
|
1996-09-26
|
4KB
|
182 lines
; UnInstall-Script for BlitzBlank 2.50
(if (= @language "deutsch")
(
(set text01 "Ja")
(set text02 "Nein")
(set text03 "Wollen Sie BlitzBlank wirklich von Ihrer Festplatte entfernen?")
(set text04 "In welchem Verzeichnis befindet sich die BlitzBlank-Schublade?")
(set text05 "Wo befindet sich die Schublade mit den Modulen?")
(set text06 "Wo befindet sich BlitzBlankPrefs?")
(set text07 "Wo befindet sich die Anleitung?")
(set text08 "Wo befindet sich BlitzBlank selbst auf Ihrer Festplatte?")
(set text09 "Wo befindet sich Ihr LIBS:-Verzeichnis?")
(set text10 "Hatten Sie die Entwickler-Files installiert?")
(set text11 "Wo befindet sich die Entwickler-Schublade?")
(set text12 "Alle BlitzBlank-Files werden jetzt gelöscht!")
(set text13 " wirklich löschen?")
(set text14 "Alle BlitzBlank-Files wurden gelöscht.")
)
)
(if (= @language "english")
(
(set text01 "Yes")
(set text02 "No")
(set text03 "Do you really want to remove BlitzBlank from your harddisk?")
(set text04 "In which directory is the BlitzBlank drawer located?")
(set text05 "Where is the module's drawer located?")
(set text06 "Where is BlitzBlankPrefs?")
(set text07 "Where is the documentation?")
(set text08 "Where is BlitzBlank itself located?")
(set text09 "Where is your LIBS:-directory?")
(set text10 "Did you have the developer material installed?")
(set text11 "Where is the developer drawer?")
(set text12 "All BlitzBlank files will now be deleted!")
(set text13 " really delete?")
(set text14 "All BlitzBlank files have been deleted.")
)
)
(if (NOT (askbool
(prompt text03)
(help @askchoice-help)
(choices text01 text02)
(default 0)
))
(exit (quiet))
)
(run "SYS:Rexxc/RX \"ADDRESS 'BLITZBLANK' 'QUIT'\"")
(set @default-dest
(askdir
(prompt text04)
(help @askdir-help)
(default @default-dest)
)
)
(set maindir @default-dest)
(set @default-dest
(tackon @default-dest "BlitzBlank")
)
(set moddir
(askdir
(prompt text05)
(help @askdir-help)
(default @default-dest)
)
)
(set bbprefsdir
(askdir
(prompt text06)
(help @askdir-help)
(default @default-dest)
)
)
(set docdir
(askdir
(prompt text07)
(help @askdir-help)
(default bbprefsdir)
)
)
(set blitzblankdir
(askdir
(prompt text08)
(help @askdir-help)
(default "SYS:WBStartup/")
)
)
(set libdir
(askdir
(prompt text09)
(help @askdir-help)
(default "LIBS:")
)
)
(if (AND (NOT (= (getassign "Locale") "")) (NOT (= @language "english")))
(set localedir
(tackon "Locale:Catalogs" @language)
)
(set localedir "")
)
(if (askbool
(prompt text10)
(help @askchoice-help)
(choices text01 text02)
(default 0)
)
(set devdir
(askdir
(prompt text11)
(help @askdir-help)
(default @default-dest)
)
)
(set devdir "")
)
(message text12)
(run "c:delete %s ALL FORCE" (cat (cat "\"" (tackon moddir "Modules")) "\""))
(delete (tackon moddir "Modules.info"))
(delete (tackon bbprefsdir "BlitzBlankPrefs"))
(delete (tackon bbprefsdir "BlitzBlankPrefs.info"))
(delete (tackon docdir "BlitzBlank.guide"))
(delete (tackon docdir "BlitzBlank.guide.info"))
(delete (tackon blitzblankdir "BlitzBlank"))
(delete (tackon blitzblankdir "BlitzBlank.info"))
(delete (tackon libdir "blitzblank.library"))
(if (localedir)
(delete (tackon localedir "blitzblank.catalog"))
)
(if (devdir)
(
(run "c:delete %s ALL FORCE" (cat (cat "\"" (tackon devdir "Developer")) "\""))
(delete (tackon devdir "Developer.info"))
)
)
(run "c:delete %s ALL FORCE" (cat (cat "\"" (tackon maindir "BlitzBlank")) "\""))
(delete (tackon maindir "BlitzBlank.info"))
(delete "ENV:MUI/BlitzBlankPrefs.prefs")
(delete "ENVARC:MUI/BlitzBlankPrefs.prefs")
(delete "ENV:MUI/BBPREFS.wini")
(delete "ENVARC:MUI/BBPREFS.wini")
(delete "ENV:BlitzBlank.prefs"
(prompt "ENV:BlitzBlank.prefs" text13)
(help "")
(confirm)
)
(delete "ENVARC:BlitzBlank.prefs"
(prompt "ENVARC:BlitzBlank.prefs" text13)
(help "")
(confirm)
)
(run "c:avail flush")
(run "c:avail flush")
(message text14)
(exit (quiet))